body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 999px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.latex-display {
    border: 1px solid #ccc;
    padding: 10px;
    background: #fafafa;
    min-height: 40px;
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
}

button {
    padding: 10px;
    background: #5cb85c;
    color: white;
    border: none;
    cursor: pointer;
    width: 200px; /* 调整按钮宽度以适应更宽的布局 */
    margin: 5px;
}

button:hover {
    background: #4cae4c;
}

.keyboard {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.keyboard td {
    padding: 5px;
    width: 25%; /* 调整单元格宽度以适应更宽的布局 */
}

.keyboard button {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

#result {
    margin-top: 20px;
}
